<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="header/header :: header(${title} != null ? ${title} : '发布信息-实体商户社群服务平台',
	'/assets/libs/postedit/honeySwitch.css,
	/assets/layui/css/layui.css,
	/assets/module/admin.css,
	/assets/css/progress.css,
	/assets/css/publish.css,
	/assets/libs/postedit/tagsinput.css',
	'/assets/tinymce/tinymce.min.js,
	/assets/js/prefixfree.min.js,
	/assets/libs/index/app.js?v=21,
	/assets/libs/postedit/mytinymce.js?v=24')">
</head>
<body class="theme-my" data-theme="theme-my">
<style>
	.layui-form-select dl {
    	max-height: 110px;
    }
    .publish-message-opr {
    	margin-left: 32px;
    	color: #4e7dd2;
    	cursor: pointer;
	}
	.iziToast > .iziToast-body .iziToast-buttons {
	    margin: -1px 0 0 0;
	}
	.editor-loading {
	    top: 0;
	    left: 0;
	    z-index: 10;
	    background-color: #fff;
	}
	.pagelet-write {
	    min-height: inherit;
	    font-size: 14px;
	    line-height: 1.5;
	    background-color: #fff;
	    padding-bottom: 0;
	    width: 816px;
	    height: 200px;
	}

</style>
<!-- 顶部导航-->
<div th:replace="common/index/indexbar :: indexbar"></div>

<!--头条主体-->
<div class="content">
    <div class="compNews wrapper contDiaryTop">
        <div class="postEdit" style="margin-bottom: 100px!important">
            <div class="main-wrapper">
                <div class="main-wrapper-cm">
                    <div class="sidebar-offcanvas">
                        <div class="list-group">
                            <a href="javascript:void(0);" class="list-group-item list-group-active">发布信息</a>
                        </div>
                        <div class="list-group">
                            <a href="/res/manage/list" class="list-group-item">信息管理</a>
                        </div>
                    </div>
                </div>
                <input id="mpuserid" th:value="${user.userId}" type="hidden"/>
                <form class="sidebar-conBody layui-form" id="publishform">
                	<input type="hidden" id="citycodeValue" th:value="${citycode}"/>
                	<input type="hidden" id="articleId" name="articleId" value=""/>
                    <div class="publish-editor-title publish-editor-title">
                    	<div class="publish-editor-title-inner">
	                    	<pre class="mock-title"></pre>
		                    <div class="editor-title autofit-textarea-wrapper">
		                    	<pre class="autofit-textarea-content"></pre>
			                    <div style="white-space: pre-wrap; overflow-wrap: break-word; position: absolute; visibility: hidden; direction: ltr; box-sizing: border-box; width: 665px; height: 36px; overflow: hidden; border-width: 0px; padding: 0px; font: 700 24px / 36px PingFangSC-Regular, Arial; text-align: start; text-transform: none; text-indent: 0px; text-decoration: none solid rgb(34, 34, 34); letter-spacing: normal; word-spacing: 0px;">
			                    	<span></span>
			                    </div>
			                    <textarea placeholder="请输入文章标题（5-30个字符）" maxlength="30" name="title" autocomplete="off" id="numchange"></textarea>
		                    </div>
	                    	<span class="title-tip">还需输入<span class="publish-title-bold">5</span>个字</span>
	                    </div>
                    </div>
                    <div class="title-Writing">
                    	<div class="pagelet-write editor-loading" id="editor-loading"></div>
                        <!-- 输入文章内容框 -->
                        <div class="Writing-cont layui-hide">
                        	<textarea id="editor_id" name="content" style="width:100%;height:550px;resize:none"></textarea>
                        </div>
                    </div>
                    <div class="moreDiv" id="moreDiv">
                        <div class="moreDiv-box">
                            <div class="form-group">
                                <label class="labTitle" for="">个性标签：</label>
                                <div class="txt-box">
                                	 <input type="text" value="" data-role="tagsinput" id="userlabel" class="inputVue">
                                </div>
                            </div>
                           
                            <th:block th:if="${not #lists.isEmpty(labels)}">
                            	<div class="form-group">
	                                <label class="labTitle" for=""></label>
	                                <div class="txt-box">
	                                    <ul class="perClassUl">
	                                        <li class="perClassLi" th:each="label:${labels}">
	                                            <a href="javascript:;" class="perClassLi-a" th:attr="data-tit=${label.labelName}" th:text="${label.labelName}"></a>
	                                        </li>
	                                    </ul>
	                                </div>
	                            </div>
                            </th:block>
                            
                            <div class="form-group">
                                <label class="labTitle" for=""></label>
                                <div class="txt-box">
                                    <span class="txt-boxColor">最多添加10个标签，每个标签1-10字符</span>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <label class="labTitle" for="">栏目分类：</label>
                                <div class="txt-box">
                                	<th:block th:each="ind, i:${columns}">
                                		<input type="radio" lay-filter="columnFilter" th:attr="data-index=${ind.columnId}" name="columnId" th:if="${i.index==0}" th:value="${ind.columnId}" th:title="${ind.columnName}" checked>
                                		<input type="radio" lay-filter="columnFilter" th:attr="data-index=${ind.columnId}" name="columnId" th:unless="${i.index==0}" th:value="${ind.columnId}" th:title="${ind.columnName}">
                                	</th:block>
                                </div>
                            </div>
                            
                            <div id="formelem"> 
                            	<div class="form-group">
									<label class="labTitle" for="">信息类型：</label>
									<div class="txt-box">
										<input type="radio" name="articleType" value="0" title="原创" checked>
								      	<input type="radio" name="articleType" value="1" title="转载">
								      	<input type="radio" name="articleType" value="2" title="翻译">
									</div>
								</div>
                            </div>
                            <div class="form-group form-groupTop">
                                <div class="publish-footer">
                                	<div class="garr-footer-publish-content publish-footer-content">
                                		<div class="footer-back-content">发文设置<span class="footer-back-content-icon footer-back-content-icon-down"></span></div>
                                		<div class="footer-tip">
                                			<span class="cumt">正文字数：0</span>
                                			<span class="footer-tip-save">已保存</span>
                                		</div>
                                		<button class="layui-btn layui-btn-primary" style="border-radius: 4px;width: 120px;" lay-filter="draftsArticle" lay-submit>存草稿</button>
                                   		<span class="layui-btn layui-btn-primary" style="border-radius: 4px;width: 120px;" lay-event="timingArticle">定时发布</span>
                                    	<button class="layui-btn" lay-filter="publishArticle" style="background-color: #ff4200;border-radius: 4px;width: 120px;" lay-submit>发布</button>
                                	</div>
                               	</div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<script src="/assets/libs/postedit/honeySwitch.js"></script>
<script src="/assets/libs/postedit/tagsinput.min.js"></script>
<script src="/assets/libs/postedit/tag.js"></script>

<!-- 信息类型 -->
<script type="text/html" id="index_1">
<div class="form-group">
	<label class="labTitle" for="">信息类型</label>
	<div class="txt-box">
		<input type="radio" name="articleType" value="0" title="原创" checked>
      	<input type="radio" name="articleType" value="1" title="转载">
      	<input type="radio" name="articleType" value="2" title="翻译">
	</div>
</div>
</script>

<!-- 商铺求租 -->
<script type="text/html" id="index_2">
 <div class="form-group">
	<label class="labTitle layui-form-required" for="">经营业态</label>
  	<div class="txt-box" style="width: 340px;">
   		<select name="formatId" id="formatId" lay-reqText="经营业态不能为空" lay-vertype="tips" lay-verify="required" required>
			<option value="-1">不限</option>
   			<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
   		</select>
   	</div>
</div>
<div class="form-group">
	<label class="labTitle layui-form-required" for="">意向区域</label>
  	<div class="txt-box" style="width: 340px;">
		<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" 
			lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required class="layui-hide">
	</div>
</div>
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">面积需求</label>
    <div class="txt-box" style="width: 340px;">
		<select name="area" lay-reqText="请选择面积" lay-vertype="tips" lay-verify="required" required>
        	<option value="">请选择</option>
			<option value="不限">不限</option>
        	<option value="10-20㎡">10-20平米</option>
        	<option value="21-50㎡">21-50平米</option>
        	<option value="51-100㎡">51-100平米</option>
        	<option value="101-150㎡">101-150平米</option>
        	<option value="151-200㎡">151-200平米</option>
			<option value="201-300㎡">201-300平米</option>
			<option value="300-500㎡">300-500平米</option>
			<option value="500㎡以上">500平米以上</option>
      	</select>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">租金预算</label>
   		<div class="txt-box" style="width: 340px;">
			<select name="rent" lay-reqText="请选择租金" lay-vertype="tips" lay-verify="required" required>
        		<option value="">请选择</option>
				<option value="面议">面议</option>
        		<option value="1000-2000元">1000-2000元</option>
        		<option value="2001-4000元">2001-4000元</option>
        		<option value="4001-6000元">4001-6000元</option>
        		<option value="6001-8000元">6001-8000元</option>
        		<option value="8001-10000元">8001-10000元</option>
				<option value="10001-15000元">10001-15000元</option>
				<option value="15001-20000元">15001-20000元</option>
				<option value="20001-30000元">20001-30000元</option>
				<option value="30000元以上">30000元以上</option>
      		</select>
   		</div>
	</div>
</div>
<div class="form-group">
    <label class="labTitle layui-form-required" for="">联系人</label>
    <div class="txt-box" style="width: 340px;">
    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
			lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">联系电话</label>
   		<div class="txt-box" style="width: 340px;">
   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
				lay-reqText="联系电话不能为空" lay-vertype="tips" lay-verify="required|phone" required>
   		</div>
	</div>
</div>
</script>

<!-- 商铺租转-->
<script type="text/html" id="index_3">
<div class="form-group">
	<label class="labTitle layui-form-required" for="">经营业态</label>
  	<div class="txt-box" style="width: 340px;">
   		<select name="formatId" lay-reqText="经营业态不能为空" lay-vertype="tips" lay-verify="required" required>
			<option value="-1">不限</option>
   			<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
   		</select>
   	</div>
	<div style="margin-left:10px;">
		<label class="labTitle" for="">转让费</label>
    	<div class="txt-box" style="width: 340px;">
    		<input type="text" name="transferFee" placeholder="请输入转让费" autocomplete="off" class="layui-input" maxlength="20">
    	</div>
	</div>
</div>
<div class="form-group">
	<label class="labTitle layui-form-required" for="">区域</label>
  	<div class="txt-box" style="width: 340px;">
		<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
			lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
	</div>
	<div id="index_address" style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">详细地址</label>
		<div class="txt-box" style="width: 340px;">
	     	<input type="text" id="address" name="address" placeholder="请输入详细地址" autocomplete="off" class="layui-input" maxlength="200"
				lay-reqText="详细地址不能为空" lay-vertype="tips" lay-verify="required" required>
	    </div>
     </div>
</div>
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">面积</label>
    <div class="txt-box" style="width: 340px;">
		<select name="area" lay-reqText="请选择面积" lay-vertype="tips" lay-verify="required" required>
        	<option value="">请选择</option>
			<option value="不限">不限</option>
        	<option value="10-20㎡">10-20平米</option>
        	<option value="21-50㎡">21-50平米</option>
        	<option value="51-100㎡">51-100平米</option>
        	<option value="101-150㎡">101-150平米</option>
        	<option value="151-200㎡">151-200平米</option>
			<option value="201-300㎡">201-300平米</option>
			<option value="300-500㎡">300-500平米</option>
			<option value="500㎡以上">500平米以上</option>
      	</select>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">租金</label>
   		<div class="txt-box" style="width: 340px;">
			<select name="rent" lay-reqText="请选择租金" lay-vertype="tips" lay-verify="required" required>
        		<option value="">请选择</option>
				<option value="面议">面议</option>
        		<option value="1000-2000元">1000-2000元</option>
        		<option value="2001-4000元">2001-4000元</option>
        		<option value="4001-6000元">4001-6000元</option>
        		<option value="6001-8000元">6001-8000元</option>
        		<option value="8001-10000元">8001-10000元</option>
				<option value="10001-15000元">10001-15000元</option>
				<option value="15001-20000元">15001-20000元</option>
				<option value="20001-30000元">20001-30000元</option>
				<option value="30000元以上">30000元以上</option>
      		</select>
   		</div>
	</div>
</div>
<div class="form-group">
    <label class="labTitle layui-form-required" for="">联系人</label>
    <div class="txt-box" style="width: 340px;">
    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
			lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">联系电话</label>
   		<div class="txt-box" style="width: 340px;">
   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
				lay-reqText="联系电话不能为空" lay-vertype="tips" lay-verify="required|phone" required>
   		</div>
	</div>
</div>	
</script>

<!-- 商铺出售-->
<script type="text/html" id="index_4">
<div class="form-group">
	<label class="labTitle layui-form-required" for="">经营业态</label>
  	<div class="txt-box" style="width: 340px;">
   		<select name="formatId" id="formatId" lay-reqText="经营业态不能为空" lay-vertype="tips" lay-verify="required" required>
			<option value="-1">不限</option>
   			<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
   		</select>
   	</div>
</div>
<div class="form-group">
	<label class="labTitle layui-form-required" for="">区域</label>
  	<div class="txt-box" style="width: 340px;">
		<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
			lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
	</div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">详细地址</label>
		<div class="txt-box" style="width: 340px;">
			<input type="text" id="address" name="address" placeholder="请输入详细地址" autocomplete="off" class="layui-input" maxlength="200"
				lay-reqText="详细地址不能为空" lay-vertype="tips" lay-verify="required" required>
		</div>
	</div>
</div>
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">面积</label>
    <div class="txt-box" style="width: 340px;">
		<input type="text" name="area" placeholder="请输入面积" autocomplete="off" class="layui-input" maxlength="20"
				lay-reqText="面积不能为空" lay-vertype="tips" lay-verify="required" required>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">总价</label>
   		<div class="txt-box" style="width: 340px;">
   			<input type="text" id="totalPrice" name="totalPrice" placeholder="请输入出售总价（万）" autocomplete="off" class="layui-input" maxlength="20"
				lay-reqText="总价不能为空" lay-vertype="tips" lay-verify="required|number" required>
   		</div>
	</div>
</div>	
<div class="form-group">
    <label class="labTitle layui-form-required" for="">联系人</label>
    <div class="txt-box" style="width: 340px;">
    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
			lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">联系电话</label>
   		<div class="txt-box" style="width: 340px;">
   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
				lay-reqText="联系电话不能为空" lay-vertype="tips" lay-verify="required|phone" required>
   		</div>
	</div>
</div>
</script>

<!-- 新铺租售 -->
<script type="text/html" id="index_5">
<div class="form-group">
	<label class="labTitle layui-form-required" for="">经营业态</label>
  	<div class="txt-box" style="width: 340px;">
   		<select name="formatId" id="formatId" lay-reqText="经营业态不能为空" lay-vertype="tips" lay-verify="required" required>
			<option value="-1">不限</option>
   			<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
   		</select>
   	</div>
	<div style="margin-left:10px;">
		<label class="labTitle" for="">楼盘名称</label>
    	<div class="txt-box" style="width: 340px;">
    		<input type="text" id="propertyName" name="propertyName" placeholder="请输入楼盘名称" autocomplete="off" class="layui-input" maxlength="50">
    	</div>
	</div>
</div>
<div class="form-group">
	<label class="labTitle layui-form-required" for="">区域</label>
  	<div class="txt-box" style="width: 340px;">
		<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
			lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
	</div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">详细地址</label>
		<div class="txt-box" style="width: 340px;">
			<input type="text" id="address" name="address" placeholder="请输入详细地址" autocomplete="off" class="layui-input" maxlength="200"
				lay-reqText="详细地址不能为空" lay-vertype="tips" lay-verify="required" required>
		</div>
	</div>
</div>
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">面积</label>
    <div class="txt-box" style="width: 340px;">
		<select name="area" lay-reqText="请选择面积" lay-vertype="tips" lay-verify="required" required>
        	<option value="">请选择</option>
			<option value="不限">不限</option>
        	<option value="10-20㎡">10-20平米</option>
        	<option value="21-50㎡">21-50平米</option>
        	<option value="51-100㎡">51-100平米</option>
        	<option value="101-150㎡">101-150平米</option>
        	<option value="151-200㎡">151-200平米</option>
			<option value="201-300㎡">201-300平米</option>
			<option value="300-500㎡">300-500平米</option>
			<option value="500㎡以上">500平米以上</option>
      	</select>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle" for="">租金</label>
   		<div class="txt-box" style="width: 340px;">
			<select name="rent">
        		<option value="">请选择</option>
				<option value="面议">面议</option>
        		<option value="1000-2000元">1000-2000元</option>
        		<option value="2001-4000元">2001-4000元</option>
        		<option value="4001-6000元">4001-6000元</option>
        		<option value="6001-8000元">6001-8000元</option>
        		<option value="8001-10000元">8001-10000元</option>
				<option value="10001-15000元">10001-15000元</option>
				<option value="15001-20000元">15001-20000元</option>
				<option value="20001-30000元">20001-30000元</option>
				<option value="30000元以上">30000元以上</option>
      		</select>
   		</div>
	</div>
</div>
<div class="form-group">
	<label class="labTitle" for="">总价</label>
   	<div class="txt-box" style="width: 340px;">
   		<input type="text" id="totalPrice" name="totalPrice" placeholder="请输入出售总价（万）" autocomplete="off" class="layui-input" maxlength="20">
   	</div>
</div>	
<div class="form-group">
    <label class="labTitle layui-form-required" for="">联系人</label>
    <div class="txt-box" style="width: 340px;">
    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
			lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
   	</div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">联系电话</label>
   		<div class="txt-box" style="width: 340px;">
   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
				lay-reqText="联系电话不能为空" lay-vertype="tips" lay-verify="required|phone" required>
   		</div>
	</div>
</div>
</script>

<!-- 商家服务 -->
<script type="text/html" id="index_6">
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">区域</label>
  	<div class="txt-box" style="width: 340px;">
		<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
			lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
	</div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">服务类型</label>
   		<div class="txt-box" style="width: 340px;">
    		<select name="serviceItems" lay-reqText="服务类型不能为空" lay-vertype="tips" lay-verify="required" required>
        		<option th:each="item:${serviceItems}" th:value="${item.sid}" th:text="${item.name}"></option>
        	</select>
    	</div>
	</div>
</div>	
<div class="form-group">
    <label class="labTitle layui-form-required" for="">联系人</label>
    <div class="txt-box" style="width: 340px;">
    	<input type="text" id="contacts"  name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
			lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">联系电话</label>
   		<div class="txt-box" style="width: 340px;">
   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
				lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required|phone" required>
   		</div>
	</div>
</div>	
</script>

<!-- 商户地摊 -->
<script type="text/html" id="index_7">
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">区域</label>
  	<div class="txt-box" style="width: 340px;">
		<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
			lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
	</div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">活动类型</label>
   		<div class="txt-box" style="width: 340px;">
    		<select name="formatId" lay-reqText="活动类型不能为空" lay-vertype="tips" lay-verify="required" required>
        		<option value="-1">不限</option>
   				<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
        	</select>
    	</div>
	</div>
</div>	
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">门店地址</label>
  	<div class="txt-box" style="width: 340px;">
		<input type="text" id="address" name="address" placeholder="请输入门店地址" autocomplete="off" class="layui-input" maxlength="200"
				lay-reqText="门店地址不能为空" lay-vertype="tips" lay-verify="required" required>
	</div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">活动时间</label>
   		<div class="txt-box" style="width: 340px;">
    		<input type="text" id="rangTime" name="rangTime" placeholder="开始时间 - 结束时间" autocomplete="off" class="layui-input" maxlength="30"
				lay-reqText="活动时间不能为空" lay-vertype="tips" lay-verify="required" required>
    	</div>
	</div>
</div>
<div class="form-group">
 	<label class="labTitle layui-form-required" for="">活动数量</label>
  	<div class="txt-box" style="width: 340px;">
		<input type="text" name="shopNum" placeholder="请输入活动数量" autocomplete="off" class="layui-input" maxlength="50"
				lay-reqText="活动数量不能为空" lay-vertype="tips" lay-verify="required" required>
	</div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">取货方式</label>
   		<div class="txt-box" style="width: 340px;">
   			<select name="pickUp" lay-reqText="取货方式不能为空" lay-vertype="tips" lay-verify="required" required>
        		<option value="到店自取">到店自取</option>
				<option value="快递邮寄">快递邮寄</option>
      		</select>
    	</div>
	</div>
</div>
<div class="form-group">
    <label class="labTitle layui-form-required" for="">联系人</label>
    <div class="txt-box" style="width: 340px;">
    	<input type="text" id="contacts"  name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
			lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
    </div>
	<div style="margin-left:10px;">
		<label class="labTitle layui-form-required" for="">联系电话</label>
   		<div class="txt-box" style="width: 340px;">
   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
				lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required|phone" required>
   		</div>
	</div>
</div>	
</script>

<!-- 定时发布 -->
<script type="text/html" id="timingTimeId">
    <form id="timingEditForm" lay-filter="timingEditForm" class="layui-form" style="padding: 25px 0 0 0;">
    	<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label" style="width:140px;">请选择发布时间</label>
	                 	<div class="layui-input-inline">
					<select name="date" id="dateId" lay-filter="datefilter"></select>
	           	</div>
	        </div>
	        <div class="layui-inline">
				<div class="layui-input-inline" style="width:60px;">
	                <select id="hourId" name="hour" lay-filter="hourfilter"></select>
				</div>
				<div class="layui-form-mid layui-word-aux">时</div>
	        </div>
			<div class="layui-inline">
				<div class="layui-input-inline" style="width:60px;">
	            	<select id="minuteId" name="minute" lay-filter="minutefilter"></select>
				</div>
				<div class="layui-form-mid layui-word-aux">分</div>
	    	</div>
		</div>
		<div style="text-align:center;padding:30px 0px 40px 0px;">
			<p style="margin-bottom: 24px;">(只能选择2小时-7天范围内的时间)</p>
			<p style="margin-bottom: 24px;">本文将于 <span id="timingId"></span>发布</p>
		</div>
        <div class="layui-form-item text-center" style="border-top: 1px solid #e8e8e8;padding: 10px;">
        	<button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
            <button class="layui-btn" lay-filter="timingPublishSubmit" lay-submit>定时发布</button>
        </div>
    </form>
</script>

</body>
</html>